//
//  DDQuestionAnswerOptionElementView.h
//  dingdang
//
//  Created by Chen Jing on 15-7-8.
//  Copyright (c) 2015年 阮 沧晖. All rights reserved.
//

#import <UIKit/UIKit.h>

@class DDQuestionAnswerOptionElementView;
@protocol DDQuestionAnswerOptionElementViewDelegate <NSObject>
@optional
-(void)element_EditAnswer:(DDQuestionAnswerOptionElementView *)elementView;
-(void)element_ClickImage:(DDQuestionAnswerOptionElementView *)elementView;
-(void)element_Minus:(DDQuestionAnswerOptionElementView *)elementView;
-(void)element_Plus:(DDQuestionAnswerOptionElementView *)elementView;
-(void)element_deleteImage:(DDQuestionAnswerOptionElementView *)elementView;
@end

@interface DDQuestionAnswerOptionElementView : UIView
@property (weak, nonatomic) IBOutlet UILabel *label_index;
@property (weak, nonatomic) IBOutlet UILabel *label_answerBody;
@property (weak, nonatomic) IBOutlet UIButton *btn_minus;
@property (weak, nonatomic) IBOutlet UIButton *btn_plus;
@property (weak, nonatomic) IBOutlet UIButton *btn_setImage;
@property (weak, nonatomic) IBOutlet UIButton *btn_editBody;

@property (weak, nonatomic) IBOutlet UIView *contentOfImage;
@property (weak, nonatomic) IBOutlet UIImageView *imageView_add;


@property(nonatomic,assign)id<DDQuestionAnswerOptionElementViewDelegate> delegate;
@end
